package artid.com.arttogo.bean;

import org.json.JSONObject;

import java.io.Serializable;

/**
 * 
*    
* 项目名称：ArtworkArt   
* 类名称：LookRemindParser   
* 类描述：查看提醒实体类+解析   
* 创建人：耿卫斌   
* 创建时间：2017-3-15 下午3:06:52   
*
 */
public class LookRemindParser extends AppItem implements Serializable {
	private static final long serialVersionUID = 1L;
	private String id;//提醒ID
	private String special_id;//专场id
	private String uid;//用户id
	private String content;//内容
	private String remind_time;//提醒时间
	private String create_time;//
	private String update_time;//
	private String read;//
	private String status;//
	@Override
	public void parse(JSONObject obj) {
		// TODO Auto-generated method stub
		if (null == obj) {
			return;
		}
		id = obj.optString("id");
		special_id = obj.optString("special_id");
		uid = obj.optString("uid");
		content = obj.optString("content");
		remind_time = obj.optString("remind_time");
		create_time = obj.optString("create_time");
		update_time = obj.optString("update_time");
		read = obj.optString("read");
		status = obj.optString("status");
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getSpecial_id() {
		return special_id;
	}
	public void setSpecial_id(String special_id) {
		this.special_id = special_id;
	}
	public String getUid() {
		return uid;
	}
	public void setUid(String uid) {
		this.uid = uid;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getRemind_time() {
		return remind_time;
	}
	public void setRemind_time(String remind_time) {
		this.remind_time = remind_time;
	}
	public String getCreate_time() {
		return create_time;
	}
	public void setCreate_time(String create_time) {
		this.create_time = create_time;
	}
	public String getUpdate_time() {
		return update_time;
	}
	public void setUpdate_time(String update_time) {
		this.update_time = update_time;
	}
	public String getRead() {
		return read;
	}
	public void setRead(String read) {
		this.read = read;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public LookRemindParser() {
		super();
	}
	public LookRemindParser(String id, String special_id, String uid,
							String content, String remind_time, String create_time,
							String update_time, String read, String status) {
		super();
		this.id = id;
		this.special_id = special_id;
		this.uid = uid;
		this.content = content;
		this.remind_time = remind_time;
		this.create_time = create_time;
		this.update_time = update_time;
		this.read = read;
		this.status = status;
	}
	@Override
	public String toString() {
		return "LookRemindParser [id=" + id + ", special_id=" + special_id
				+ ", uid=" + uid + ", content=" + content + ", remind_time="
				+ remind_time + ", create_time=" + create_time
				+ ", update_time=" + update_time + ", read=" + read
				+ ", status=" + status + "]";
	}
}
